package org.example.consumer.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author zhigang.li
 * @date 2022/8/24
 
 
 */
@FeignClient(name = "shushan-consumer", fallback = TestApiFallback.class)
public interface TestApi {

    @GetMapping("/consumer")
    String testApi();

}
